home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Nejlepší hry
/
Nejlepsi hry.iso
/
hry
/
plane arcade
/
planearcade.exe
/
tank3.bmp
/
debug.h
< prev
next >
Wrap
C/C++ Source or Header
|
2004-03-20
|
643b
|
27 lines
#ifndef _DEBUG_H_
#define _DEBUG_H_
//---------------------------------------------------
//CUSTOMVERTEXDEBUG
//---------------------------------------------------
struct CUSTOMVERTEXDEBUG
{
D3DXVECTOR3 pos; // pozicia
DWORD color; // farba
};
#define D3DFVF_CUSTOMVERTEXDEBUG (D3DFVF_XYZ|D3DFVF_DIFFUSE)
//-------------------------------------------------
//FUNKCIE
//-------------------------------------------------
void DebugDrawBox(VECTOR3D Min,VECTOR3D Max);
void DebugDrawNormal(VECTOR3D Point,VECTOR3D Normal);
void DebugDrawLine(VECTOR3D Point1,VECTOR3D Point2);
#endif //_DEBUG_H_